//
//  ImageGalleryTableViewCell.h
//  PictureYourself
//
//  Created by Daniel on 28/7/12.
//
//

#import <UIKit/UIKit.h>
#import "PYImageGalleryImageView.h"

@class PYImageGalleryTableViewCell;

@protocol ThumbnailCellSelectionDelegate <NSObject>
- (void)thumbnailCellImageWasSelected:(PYImageGalleryTableViewCell*)cell :(NSUInteger)image_index;
- (void)thumbnailCellImageWasDeSelected:(id)cell :(NSUInteger)image_index;
@end

@interface PYImageGalleryTableViewCell : UITableViewCell <ThumbnailImageViewSelectionDelegate>
{
    IBOutlet PYImageGalleryImageView* image1_;
    IBOutlet PYImageGalleryImageView* image2_;
    IBOutlet PYImageGalleryImageView* image3_;
    IBOutlet PYImageGalleryImageView* image4_;
}

-(void)setSelectionForImage :(NSUInteger)image_index selection:(BOOL)on animated:(BOOL)animated;

@property NSUInteger index;
@property (nonatomic, retain) id<ThumbnailCellSelectionDelegate> delegate;

@end
